//
//  HLManager.h
//  nmrsc
//
//  Created by xumckay on 16/1/9.
//  Copyright © 2016年 bric. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AFNetworking.h"
@interface HLManager : NSObject


//获取单例
+(HLManager * )sharedManager;

//获取afnetworiking支持https的配置
-(AFSecurityPolicy*)getHttpsSetting;

/// 判断是否有网络
- (BOOL)checkIsHasNetworkFunction;

/// 检查手机号是否正确
- (BOOL)checkPhoneNum:(NSString *)phone;

//显示弹出提示框，自动隐藏的。。
- (void)showHudText:(NSString *)text detailsText:(NSString *)detailsText afterDelay:(float)delay;

/// 获取内容的cgsize
- (CGSize)getSizeWithContent:(NSString *)content sizeOfAnyView:(UIView*)anyView font:(CGFloat)font;

/// 处理电话号码
- (NSMutableString *)makeDownWithTextField:(UITextField *)textField;

- (BOOL)isOver5S;

//判断是否登录成功
-(BOOL)isLoginSuccess;

/// 检查邮箱是否正确
- (BOOL)checkEmailAddress:(NSString *)email;

@end
